From: Claudio Cambra Date: Thu, 28 Nov 2024 09:53:02 +0000 (+0800) Subject: Use char16_t cast instead of ushort cast X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~2^2~173^2~13 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4bfc155e5f5b3d6812ae6aa0aea1bac7e064641f;p=nextcloud-desktop.git Use char16_t cast instead of ushort cast Fix deprecation warning Signed-off-by: Claudio Cambra --- diff --git a/src/common/ownsql.cpp b/src/common/ownsql.cpp index 3577f4894..79e097b45 100644 --- a/src/common/ownsql.cpp +++ b/src/common/ownsql.cpp @@ -412,7 +412,7 @@ bool SqlQuery::nullValue(int index) QString SqlQuery::stringValue(int index) { - return QString::fromUtf16(static_cast(sqlite3_column_text16(_stmt, index))); + return QString::fromUtf16(static_cast(sqlite3_column_text16(_stmt, index))); } int SqlQuery::intValue(int index)